from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
# http://127.0.0.1:8000/music/index
def index_view(request):
    # return HttpResponse('<h1>这是音乐首页</h1')
    # 搜索模板的时候会优先到项目下的templates中寻找模板文件，然后才会到应用下的templates中寻找
    return render(request, 'music/index.html')